package com.cy.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cy.order.entity.Order;

public interface OrderMapper extends BaseMapper<Order> {
    //冻结的订单，设status=0
    void create(Order order);

    //订单从冻结状态修改成正常状态，设status = 1
    void updateStatus(Long orderId,int status);

    //使用继承的 deleteById()方法删除订单
}
